//
//  JBWHomeModel.swift
//  新浪微博
//
//  Created by 季伯文 on 2017/7/4.
//  Copyright © 2017年 bowen. All rights reserved.
//

import UIKit

class JBWHomeModel: NSObject {

    ///创建时间
    var created_at: Date?
    ///微博ID
    var id: Int64 = 0
    ///微博内容
    var text: String?
    ///微博来源
    var source: String?
    ///用户信息
    var user: JBWUserModel?
    ///转发微博
    var retweeted_status: JBWHomeModel?
    ///配图数组
    var pic_urls: [JBWPictureModel]?
    
    //返回容器类中是所需要存放的数据类型
    class func modelContainerPropertyGenericClass() -> [String: Any]{
        return ["pic_urls": JBWPictureModel.self]
    }
}
